package com.mail.dubbo.api;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mail.model.db.SmsFlashPromotion;

public interface SmsFlashPromotionApi {
    void create(SmsFlashPromotion smsFlashPromotion);

    void delete(Long id);

    Page<SmsFlashPromotion> selectList(String keyword, Long pageNum, Long pageSize);

    void updateStatus(Long id, Integer status);

    void updateFlashPromotion(Long id, SmsFlashPromotion promotion);

    SmsFlashPromotion getFlashPromotion(Long id);
}
